package com.dayatang.hrm.compensation.integration;

import org.apache.tapestry5.hibernate.HibernateCoreModule;
import org.apache.tapestry5.ioc.services.TapestryIOCModule;
import org.junit.BeforeClass;

import com.dayatang.commons.factory.TapestryIocUtils;
import com.dayatang.hrm.compensation.infra.tapestry.BasicModule;
import com.dayatang.hrm.compensation.infra.tapestry.CompensationApplicationModule;
import com.dayatang.hrm.compensation.infra.tapestry.ParameterModule;
import com.dayatang.hrm.organisation.infra.tapestry.OrganizationModule;
import com.dayatang.hrm.staffing.infra.tapestry.EmployeeModule;

public abstract class AbstractIntegratedTestCase {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {

		TapestryIocUtils.initInstanceProvider(TapestryIOCModule.class,
				HibernateCoreModule.class, CompensationApplicationModule.class,
				BasicModule.class, ParameterModule.class,
				OrganizationModule.class, EmployeeModule.class);

	}
}
